package org.gp953.order.consts;

public class OrderConsts {

    // 业务类型
    public static String BUSINESS_TYPE_ADOPT = "business_type_adopt";//领养
    public static String BUSINESS_TYPE_ACQUISITION = "business_type_acquisition";//收购
    public static String BUSINESS_TYPE_PRODUCT = "business_type_product";//服务
    public static String BUSINESS_TYPE_RECHARGE = "business_type_recharge";//充值
    public static String BUSINESS_TYPE_GOODS = "business_type_goods";//商品购买

    // 支付状态 0待支付 1待发货  2待确认   3已完成  -1取消
    // 0待支付
    public static Integer ORDER_STATE_TO_BE_PAID = 0;
    // 1待发货
    public static Integer ORDER_STATE_TO_BE_DELIVERED = 1;
    //  2待确认
    public static Integer ORDER_STATE_TO_BE_CONFIRMED = 2;
    // 3已完成
    public static Integer ORDER_STATE_COMPLETED = 3;
    // -1取消
    public static Integer ORDER_STATE_CANCEL = -1;

  /*  // 支付方式 0 余额支付 1 支付宝 2 微信支付 3 银联
    public static Integer PAY_METHOD_BALANCEPAYMENT = 0;
    public static Integer PAY_METHOD_ALIPAY = 1;
    public static Integer PAY_METHOD_WECHATPAY = 2;
    public static Integer PAY_METHOD_UNIONPAY = 3;*/

    // 订单超时取消常量
    public static Long ORDER_TIME_OUT = 30 * 60 *60 *1000L;
}
